Optimal. Leaf size=22 \[ \frac {\log ^2\left (c \left (b x^n\right )^p\right )}{2 n p} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2338, 2495}
\begin {gather*} \frac {\log ^2\left (c \left (b x^n\right )^p\right )}{2 n p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2338
Rule 2495
Rubi steps
\begin {align*} \int \frac {\log \left (c \left (b x^n\right )^p\right )}{x} \, dx &=\text {Subst}\left (\int \frac {\log \left (b^p c x^{n p}\right )}{x} \, dx,b^p c x^{n p},c \left (b x^n\right )^p\right )\\ &=\frac {\log ^2\left (c \left (b x^n\right )^p\right )}{2 n p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 22, normalized size = 1.00 \begin {gather*} \frac {\log ^2\left (c \left (b x^n\right )^p\right )}{2 n p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 21, normalized size = 0.95
method | result | size |
derivativedivides | \(\frac {\ln \left (c \left (b \,x^{n}\right )^{p}\right )^{2}}{2 p n}\) | \(21\) |
default | \(\frac {\ln \left (c \left (b \,x^{n}\right )^{p}\right )^{2}}{2 p n}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 20, normalized size = 0.91 \begin {gather*} \frac {\log \left (\left (b x^{n}\right )^{p} c\right )^{2}}{2 \, n p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 19, normalized size = 0.86 \begin {gather*} \frac {1}{2} \, n p \log \left (x\right )^{2} + {\left (p \log \left (b\right ) + \log \left (c\right )\right )} \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.00, size = 37, normalized size = 1.68 \begin {gather*} - \begin {cases} - \log {\left (x \right )} \log {\left (b^{p} c \right )} & \text {for}\: n = 0 \\- \log {\left (c \right )} \log {\left (x \right )} & \text {for}\: p = 0 \\- \frac {\log {\left (c \left (b x^{n}\right )^{p} \right )}^{2}}{2 n p} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.76, size = 20, normalized size = 0.91 \begin {gather*} \frac {1}{2} \, n p \log \left (x\right )^{2} + p \log \left (b\right ) \log \left (x\right ) + \log \left (c\right ) \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.80, size = 20, normalized size = 0.91 \begin {gather*} \frac {{\ln \left (c\,{\left (b\,x^n\right )}^p\right )}^2}{2\,n\,p} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________